package com.dragon.geekbang.thinking.in.spring.ioc.container.overview.domain;

import lombok.Data;

/**
 * 某人的爸爸
 * 依赖User
 */
@Data
public class Daddy {

    private String name;

    private User user;

    @Override
    public String toString() {
        return "Daddy{" +
                "name='" + name + '\'' +
                ", user=" + user +
                '}';
    }
}
